home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows Shareware Gold
/
Windows Shareware Gold Volume 3 Number 1 (Sherburne Knowledge Systems) (1991).iso
/
utils
/
f3106
/
crdprt
< prev
next >
Wrap
Text File
|
1990-11-01
|
812b
|
31 lines
# these are compile flags
# -c means compile without linking
# -AS means compile for small model
# -Zp1 means pack structure members on specified byte boundary
# -Ox means maximized optimization
# -W2 means set output level for compiler warning messages
CFLAGS= -c -AS -Zp1 -Ox -W2
# these are link flags
# /NOD means ignore default libraries
# /NOE means prevent linker from searching extended dictionary
LFLAGS= /NOD /NOE
# slibce is the small Microsoft library with math emulation
LIBS= slibce
# makefile name
MKFL= crdprt
# path to Microsoft C libraries (drive: & directory path)
LIBPATH=c:\msc\lib
# compile step
$(MKFL).obj: $(MKFL).c $(MKFL)
cl $(CFLAGS) $(MKFL).c
# link step
$(MKFL).exe: $(MKFL).obj
link $(LFLAGS) $(MKFL) $(LIBPATH)\setargv,,,$(LIBS)